﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    public partial class corecmschgprice
    {
        /// <summary>
        /// 调价线路ID
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "chgpriceLineId", IsPrimaryKey = true)]
        public long chgpriceLineId { get; set; }

        /// <summary>
        /// 商品SPU规格ID
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "pdtSpuSpecId")]
        public long pdtSpuSpecId { get; set; }

        /// <summary>
        /// 新销售价格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "newSalePrice")]
        public decimal newSalePrice { get; set; }

        /// <summary>
        /// 时间类型（空表示不指定）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "timeType")]
        public int? timeType { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "updateTime")]
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "billNo")]
        public string billNo { get; set; }

        /// <summary>
        /// 生效日期
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "effectiveDate")]
        public DateTime effectiveDate { get; set; }

        /// <summary>
        /// 失效日期（空表示永久有效）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "expiringDate")]
        public DateTime? expiringDate { get; set; }

        /// <summary>
        /// 单据状态 1 制单 3 已审核 5 已生效 9 已失效,(GlobalEnumVars.ChgpriceStatus)
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "status")]
        public int status { get; set; }
    }
}
